package com.tsingteng.cosfun.ui.cosfun.contract;

import com.tsingteng.cosfun.bean.BaseBackBean;
import com.tsingteng.cosfun.bean.CommBean;
import com.tsingteng.cosfun.mvp.view.IView;

public interface CommContract {
    interface ICommPresenter {

        void getOpusComm(int istop,String workId, String c, String deviceId, String parentCommentId, String userId, String commentMsg);

        void getOpusCommList(String userId, String c, String workId, String page_no, String page_size, String deviceId);

        void getCommlike(String workId, String userId, String commId, String type);
        //删除评论
        void commDel(String commid);
        void getCancelPullBlack(long userId);
    }


    interface ICommView extends IView {
        void successStatus(BaseBackBean baseBackBean);

        void succeed(CommBean commBean);

        void failure(int code, String error);
        void showCancelPullBlack(int data);


    }
}
